import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'

import Particles from 'vue3-particles'
import {zhCn} from "element-plus/es/locale/index";
const app = createApp(App)

app.use(ElementPlus, {
    locale: zhCn // 强制设置为中文
})
app.use(createPinia())
app.use(router)
app.use(Particles)
app.mount('#app')